package dev.ece.suit.loader;

import dev.ece.core.cells.model.action.FrameActionManager;

public class FrameModel3D extends AbstractModel3D<Integer> {

	public FrameModel3D(ModelLoader<Integer> loader) throws Exception {
		super(loader);
	}

	@Override
	public Frame<Integer> createFrameInstance() {
		Frame<Integer> frame = new Frame<Integer>();
		frame.setActionManager(new FrameActionManager());
		frame.setCurrent(0);
		frame.setIndice(this.getDefaultIndice());
		return frame;
	}

	@Override
	public Integer createCurrent(int frame) {
		return frame;
	}

}
